-- GENERATED SPELL FOR [Brother Malach] --


function spell0_5661(pUnit, Event) --@First Aid,Heal--
pUnit:FullCastSpellOnTarget(7162,pUnit)
pUnit:RegisterEvent('Sorts_5661', 3000, 1)
end

function Sorts_5661(pUnit, Event)
local choix_sorts_5661 = math.random(0, 0)
if choix_sorts_5661 == 0 then
pUnit:RegisterEvent('spell0_5661', 1, 1)
end
end

function mob5661_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_5661', math.random(1500, 3000), 1)
end

function mob5661_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob5661_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob5661_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(5661, 1, 'mob5661_Action')
RegisterUnitEvent(5661, 2, 'mob5661_Leave')
RegisterUnitEvent(5661, 3, 'mob5661_Kill')
RegisterUnitEvent(5661, 4, 'mob5661_Die')
